<template>
    <div class="all-order-box">
        <div class="item">
            <slot name="icon1"></slot>
            <p class="text-desc">待付款</p>
        </div>
        <div class="item">
            <slot name="icon2"></slot>
            <p class="text-desc">待发货</p>
        </div>
        <div class="item">
            <slot name="icon3"></slot>
            <p class="text-desc">待收货</p>
        </div>
        <div class="item">
            <slot name="icon4"></slot>
            <p class="text-desc">已完成</p>
        </div>
    </div>
</template>
<script>
export default {
}
</script>
<style lang="less" scoped>
    .all-order-box{
        display: flex;
        width: 100%;
        margin-top: 40px;
    }
    // 所有订单的子项
    .item {
        position: relative;
        width: 25%;
        height: 90px;
        text-align: center;
        .order-icon {
            position: absolute;
        }
        .order-icon1 {
            width: 64px;
            height: 49px;
            left: 51px;
        }
        .order-icon2 {
            width: 60px;
            height: 51px;
            left: 51px;
        }
        .order-icon3 {
            width: 80px;
            height: 56px;
            left: 51px;
        }
        .order-icon4 {
            width: 62px;
            height: 52px;
            left: 51px;
        }
        .text-desc {
            margin-top: 60px;
            font-size: 28px;
        }
    }
</style>
